
from django.db import models
from django.contrib.auth.models import User

class UserPreferences(models.Model):
    user = models.OneToOneField(User)
    language = models.CharField(max_length=2, blank=True, null=True)
    theme = models.CharField(max_length=10, blank=True, null=True)
    layout = models.TextField(blank=True, null=True )
